import request from "@/utils/request";

export function getByCondition(params) {
  return request({
    url: "/record/list",
    method: "get",
    params
  });
}

export function queryById() {
  return request({
    url: '/record/query_by_id',
    method: 'post',
  })
}

export function deleteRecord(data) {
  return request({
    url: '/recordDelete',
    method: 'post',
    data
  })
}